{include file="layout/header" title="管理员列表" /}
<div class="view-body">
    {include file="layout/menu" /}
    <div class="view-product">
        <div class="company_identify">
            <div class="manage-head">
                <h6 class="fl padding-left manage-head-con">
                    管理员列表
                </h6>
                <button class="fr layui-btn layui-btn-small layui-btn-primary clearfix layui_iframe" h="450px" style="margin-top: -5px;" title="添加管理员" url="{:url('admin/Admin/admin')}" w="500px">
                    添加管理员
                </button>
            </div>
            <div class="offcial-table tr-border table-margin clearfix">
                <div class="tr-th clearfix">
                    <div class="th w10">
                        ID
                    </div>
                    <div class="th w20">
                        帐号
                    </div>
                    <div class="th w20">
                        昵称
                    </div>
                    <div class="th w20">
                        状态
                    </div>
                    <div class="th w30">
                        操作
                    </div>
                </div>
                {volist name="admins" id="admin"}
                <div class="tr clearfix border-bottom-none">
                    <div class="td w10">
                        {$admin.id}
                    </div>
                    <div class="td w20">
                        {$admin.mobile}
                    </div>
                    <div class="td w20">
                        {$admin.nickname}
                    </div>
                    <div class="td w20">
                        {$status[$admin.status]}
                    </div>
                    <div class="td w30">
                        <a class="layui-btn layui-btn-mini layui-btn-warm layui_iframe" h="450px" href="javascript:;" title="编辑角色" url="{:url('admin/Admin/admin',['id'=>$admin['id']])}" w="500px">
                            编辑
                        </a>
                        <a class="layui-btn layui-btn-mini layui-btn-danger layui_confirm" href="{:url('admin/Admin/delAdmin',['id'=>$admin['id']])}" msg="确定删除？">
                            删除
                        </a>
                    </div>
                </div>
                {/volist}
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
</script>
{include file="layout/footer" /}
